/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-10-21
 */
@Data
@TableName("blade_operation_log")
@ApiModel(value = "OperationLog对象", description = "OperationLog对象")
public class OperationLog implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long id;
	private String userId;
	private String ip;
	private Date operationTime;
	private String content;
	private String userName;
	private String module;
	private String providerId;
	/**
	 * 第三方系统用户所在组织全名称
	 */
	private String userDeptFullName;

	/**
	 * 第三方系统用户所在组织全ID
	 */
	private String userDeptFullId;

	/**
	 * 组织管理范围（左侧）二级集团单位providerId
	 */
	@ApiModelProperty(value = "二级集团单位providerId")
	private String orgManagementProviderId;

	/**
	 * 组织管理范围（左侧）
	 */
	@ApiModelProperty(value = "组织管理范围")
	private String orgManagementScope;

	/**
	 * 组织管理范围（左侧）id
	 */
	@ApiModelProperty(value = "组织管理范围id")
	private String orgManagementScopeId;

}
